package cn.kgc.novel.exception;

import cn.kgc.novel.common.ErrorCodeEnum;

public class UserRegisterException extends RuntimeException{
    private ErrorCodeEnum errorCodeEnum;
    public UserRegisterException(){

    }
    public UserRegisterException(ErrorCodeEnum errorCodeEnum){
        this.errorCodeEnum = errorCodeEnum;
    }
    public ErrorCodeEnum getErrorCodeEnum(){
        return errorCodeEnum;
    }
}
